import request from '@/utils/request'

export function pageUom(params: { pageNum: number; pageSize: number; uomCode?: string; uomName?: string }) {
  return request({ url: '/erp/uom/page', method: 'get', params })
}

export function listUomConv(materialId: string) {
  return request({ url: '/erp/uom/conv', method: 'get', params: { materialId: String(materialId) } })
}


